include $(TOPDIR)/rules.mk

PKG_NAME:=ssd21x-lcd
PKG_RELEASE:=1

include $(INCLUDE_DIR)/package.mk

define Package/$(PKG_NAME)
  SECTION:=SigmStar
  CATEGORY:=SigmStar
  SUBMENU:=utils
  DEPENDS:=@TARGET_sstar_ssd21x
  TITLE:=SSD21X LCD config
endef

define Package/$(PKG_NAME)/description
 SSD21X LCD 
endef

define Package/$(PKG_NAME)/config
  source "$(SOURCE)/Config.in"
endef

SSTAR_LCD_DIR=$(CONFIG_SSD21X_LCD_NAME)

define Build/Prepare
endef

define Build/Configure
endef

define Build/Compile
endef

define Package/$(PKG_NAME)/install
	$(CP) ./files/$(SSTAR_LCD_DIR)/* $(1)/
endef

$(eval $(call BuildPackage,$(PKG_NAME)))
